package elicecn.codegen;

import java.io.Serializable;

/**
 * 字段信息，对应一个类的属性
 * 
 * @author 屹砾
 * @email eli.wuhan@gmail.com
 * @time 2009-1-20
 */
public class ColumnField implements Serializable {
	private static final long serialVersionUID = -650166341691185238L;
	private String columnName;// 列名
	private String columnType;// 列类型
	private String classFieldName;// 字段名
	private Class<Serializable> classFieldType;// 字段类型

	public ColumnField() {
	}

	public ColumnField(String columnName, String columnType,
			String classFieldName, Class<Serializable> classFieldType) {
		this.classFieldName = classFieldName;
		this.classFieldType = classFieldType;
		this.columnName = columnName;
		this.columnType = columnType;
	}

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public String getColumnType() {
		return columnType;
	}

	public void setColumnType(String columnType) {
		this.columnType = columnType;
	}

	public String getClassFieldName() {
		return classFieldName;
	}

	public void setClassFieldName(String classFieldName) {
		this.classFieldName = classFieldName;
	}

	public Class<Serializable> getClassFieldType() {
		return classFieldType;
	}

	public void setClassFieldType(Class<Serializable> classFieldType) {
		this.classFieldType = classFieldType;
	}

}
